import { createStore } from 'vuex'
import user from './modules/user'
import router from './modules/router'

import operate from './modules/operate'
import role from './modules/role'

import getters from './getters'


const modules = {
  user,
  router,
  operate,
  role,
}

export default createStore({
  getters,
  modules
})
